
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>黔东南州民爆行业公共服务平台</title>
		<link rel="shortcut icon" href="../../../../../blastStatistics/static/images/favicon.ico"> 
		<link href="../../../../../hplus/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
		<link href="../../../../../hplus/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
		<link href="../../../../../hplus/css/animate.css" rel="stylesheet">
		<link href="../../../../../hplus/css/style.css?v=4.1.0" rel="stylesheet">
		<link href="../../../../../hplus/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
		<link href="../../../../../hplus/css/plugins/iCheck/custom.css" rel="stylesheet">
		<link href="../../../../../static/css/global.css" rel="stylesheet">
		<link href="../../../../../static/css/layout.css" rel="stylesheet">
		<link href="../../../../../static/js/lib/layui/css/layui.css" rel="stylesheet">
		<link href="../../../../../js/sweet/sweet-alert.css" rel="stylesheet">
		<!-- js -->
		<!-- <script src="../js/app.js"></script> -->
		<script src="../../../../../hplus/js/jquery.min.js"></script>
		<script src="../../../../../hplus/js/plugins/layer/layer.min.js"></script>
		
    <!-- jqgrid-->
    <link href="../../../../../hplus/css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet">


    <style>
        /* Additional style to fix warning dialog position */

        #alertmod_table_list_2 {
            top: 900px !important;
        }
    </style>
		
</head>
<body >
	<!-- 头部 -->
	<div  class="top-hemo">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header" style="margin-left: 1%;">
                        <i class="navbar-header-title" >黔东南州民爆行业安全监管系统</i>
                    </div>
                    <div class="navbar-right-links" style="margin-right: 2%;">
                    	 <div class="col-lg-6">
    						<div class="input-group">
    							<a href="#"><img src="../../../../../image/common/icon/32x32/sousuo1.png"></a>
      							<input type="text" class="form-control" placeholder="请输入搜索关键字">
   							 </div>
  						</div>
                        <a class="icons icons-package" title="平台链接"  target="_blank" href="../demo.html"></a>
                        <a href="#" class="icons icons-config" title="系统设置"></a>
                        <a href="#" class="icons icons-terminate" title="退出系统" onclick="loginout()"></a>
                    </div>
                </nav>
            </div>
    <!-- 中间部分 -->
		<div class="wrapper wrapper-content  animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox ">
                    <div class="ibox-title">
                        <h5>爆破项目</h5>
                    </div>
                    <div class="ibox-content">
                        <h4 class="m-t">高级用法</h4>
                        <div class="jqGrid_wrapper">
                            <table id="table_list_2"></table>
                            <div id="pager_list_2"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
	<!-- footer 底部  -->
		<div class="wrapper fly-footer-box" style="margin-bottom: 0px;">
			<div class="layui-container">
				<div class="fly-footer">
					<div class="footer-item clearBoth">
						<div class="footer-item-title">技术支持</div>
						<div class="footer-item-cont">
							<span>贵州迅达科技有限公司</span>
							<span>热线电话&nbsp;&nbsp;012-400-9999</span>
							<span>贵阳市南明区花果园财富广场1号楼8层</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		<script type="text/javascript">
		function loginout(){
			parent.layer.confirm("您确定要退出系统吗?", {
			    btn: ['确定','取消'], //按钮
			    shade: true, //不显示遮罩
			    shadeClose: true,
		        shade: 0.5,
			}, function(){
				top.location.href = '/blast/user/loginout';
			}, function(){
			    
			});
		}
		</script>
		
<!-- 全局js -->
    <script src="../../../../../hplus/js/jquery.min.js?v=2.1.4"></script>
    <script src="../../../../../hplus/js/bootstrap.min.js?v=3.3.6"></script>



    <!-- Peity -->
    <script src="../../../../../hplus/js/plugins/peity/jquery.peity.min.js"></script>

    <!-- jqGrid -->
    <script src="../../../../../hplus/js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
    <script src="../../../../../hplus/js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>

    <!-- 自定义js -->
    <script src="../../../../../hplus/js/content.js?v=1.0.0"></script>

    <!-- Page-Level Scripts -->
    <script>
        $(document).ready(function () {

            $.jgrid.defaults.styleUI = 'Bootstrap';
            // Examle data for jqGrid
            var mydata = [
                {
                    id: "1",
                    invdate: "2010-05-24",
                    name: "test",
                    note: "note",
                    tax: "10.00",
                    total: "2111.00"
                },
                {
                    id: "2",
                    invdate: "2010-05-25",
                    name: "test2",
                    note: "note2",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "3",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "4",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "5",
                    invdate: "2007-10-05",
                    name: "test2",
                    note: "note2",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "6",
                    invdate: "2007-09-06",
                    name: "test3",
                    note: "note3",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "7",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "8",
                    invdate: "2007-10-03",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "21.00",
                    total: "320.00"
                },
                {
                    id: "9",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "11",
                    invdate: "2007-10-01",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "12",
                    invdate: "2007-10-02",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "13",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "14",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "15",
                    invdate: "2007-10-05",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "16",
                    invdate: "2007-09-06",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "17",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "18",
                    invdate: "2007-10-03",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "19",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "21",
                    invdate: "2007-10-01",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "22",
                    invdate: "2007-10-02",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "23",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "24",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "25",
                    invdate: "2007-10-05",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "26",
                    invdate: "2007-09-06",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                },
                {
                    id: "27",
                    invdate: "2007-10-04",
                    name: "test",
                    note: "note",
                    amount: "200.00",
                    tax: "10.00",
                    total: "210.00"
                },
                {
                    id: "28",
                    invdate: "2007-10-03",
                    name: "test2",
                    note: "note2",
                    amount: "300.00",
                    tax: "20.00",
                    total: "320.00"
                },
                {
                    id: "29",
                    invdate: "2007-09-01",
                    name: "test3",
                    note: "note3",
                    amount: "400.00",
                    tax: "30.00",
                    total: "430.00"
                }
            ];		
         // Configuration for jqGrid Example 2
            $("#table_list_2").jqGrid({
                data: mydata,
                datatype: "local",
                height: 450,
                autowidth: true,
                shrinkToFit: true,
                rowNum: 20,
                rowList: [10, 20, 30],
                colNames: ['序号', '日期', '客户', '金额', '运费', '总额', '备注'],
                colModel: [
                    {
                        name: 'id',
                        index: 'id',
                        editable: true,
                        width: 60,
                        sorttype: "int",
                        search: true
                    },
                    {
                        name: 'invdate',
                        index: 'invdate',
                        editable: true,
                        width: 90,
                        sorttype: "date",
                        formatter: "date"
                    },
                    {
                        name: 'name',
                        index: 'name',
                        editable: true,
                        width: 100
                    },
                    {
                        name: 'amount',
                        index: 'amount',
                        editable: true,
                        width: 80,
                        align: "right",
                        sorttype: "float",
                        formatter: "number"
                    },
                    {
                        name: 'tax',
                        index: 'tax',
                        editable: true,
                        width: 80,
                        align: "right",
                        sorttype: "float"
                    },
                    {
                        name: 'total',
                        index: 'total',
                        editable: true,
                        width: 80,
                        align: "right",
                        sorttype: "float"
                    },
                    {
                        name: 'note',
                        index: 'note',
                        editable: true,
                        width: 100,
                        sortable: false
                    }
                ],
                pager: "#pager_list_2",
                viewrecords: true,
                caption: "jqGrid 示例2",
                add: true,
                edit: true,
                addtext: 'Add',
                edittext: 'Edit',
                hidegrid: false
            });

            // Add selection
            $("#table_list_2").setSelection(4, true);


            // Setup buttons
            $("#table_list_2").jqGrid('navGrid', '#pager_list_2', {
                edit: true,
                add: true,
                del: true,
                search: true
            }, {
                height: 200,
                reloadAfterSubmit: true
            });

            // Add responsive to jqGrid
            $(window).bind('resize', function () {
                var width = $('.jqGrid_wrapper').width();
                $('#table_list_2').setGridWidth(width);
            });
        });
    </script>

    <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
    <!--统计代码，可删除-->
</body>
</html>